import request from '@/utils/request'

// 查询统计表申请记录列表
export function listDeductionstatapply(query) {
  return request({
    url: '/doc/deductionstatapply/list',
    method: 'get',
    params: query
  })
}

// 查询统计表申请记录详细
export function getDeductionstatapply(id) {
  return request({
    url: '/doc/deductionstatapply/' + id,
    method: 'get'
  })
}

// 新增统计表申请记录
export function addDeductionstatapply(data) {
  return request({
    url: '/doc/deductionstatapply',
    method: 'post',
    data: data
  })
}

// 修改统计表申请记录
export function updateDeductionstatapply(data) {
  return request({
    url: '/doc/deductionstatapply',
    method: 'put',
    data: data
  })
}

// 删除统计表申请记录
export function delDeductionstatapply(id) {
  return request({
    url: '/doc/deductionstatapply/' + id,
    method: 'delete'
  })
}
